import request from '@/utils/request.js'

export const getSuggestList = (kw) => {
  return request.get('/v1_0/suggestion', {
    params: {
      q: kw
    }
  })
}
// 封装请求搜索结果接口
export const getSearchResult = (kw, page) => {
  return request.get('/v1_0/search', {
    params: {
      q: kw,
      page
    }
  })
}
